xen/arm: Panic when we receive an unexpected trap
authorJulien Grall <julien.grall@linaro.org>
Tue, 17 Jun 2014 20:44:28 +0000 (21:44 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Jun 2014 14:05:30 +0000 (15:05 +0100)
commit4f5ab681d208993f94553203f4be323b3c929070
treea95775e638531d47c1175413d1386cddc4f57fe1
parent1747fc59d66157dff33476fe252c08fbba1d7cfa
xen/arm: Panic when we receive an unexpected trap

The current implementation of do_unexpected_trap make Xen spin forever
on the current physical CPU. This may lead to stall guests VCPU and print
unhelpful message (RCU stall...).

Usually when Xen receives an unexpected trap, it means that something goes
wrong either in the hypervisor or in the CPU. In this case we should
directly panic to also stop the other CPUs.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c